const state = {
  auth: { //  本地数据
    order: {
      value: '001',
      product: {
        value: '001a',
        detail: {
          value: '001aa'
        }
      }
    },
    jurisdiction: {
      value: '002',
      menuControl: {
        value: '002a'
      },
      people: {
        value: '002b'
      },
      role: {
        value: '002c'
      }
    },
    user: {
      value: '003',
      userinfo: {
        value: '003a'
      }
    }
  },
  authData: { //  请求数据
    lv1: [],
    lv2: [],
    lv3: []
  }
}

const mutations = {
  changeAuthData(state, data) {
    state.authData = data
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
